<div ng-init="initCheck()">
	<div class="form-content">
		<div layout="column">
			<md-content md-theme="docs-dark" layout-padding layout="row" layout-sm="column" style="padding: 0;">
				<div class="function-medule">
					<div class="medule-myTab"  style="height:480px;">
						<table border="1">
							<tr ng-repeat="root in allModules">
								<td><md-checkbox ng-model="root.checked" ng-change="checkedParent(root)">{{root.moduleName}}</md-checkbox></td>
								<td style="border-right: 1px solid transperent;">
									<ul class="ul02">
									<!--当前用户如果不是admin,将moduleId为35,36,37的模块给隐藏,否则就打开
										不显示动态实时数据详细，个人页面定制，无用库表作业清理三个模块
									-->
										<li ng-repeat="child in root.childModule">
											<md-checkbox ng-model="child.checked" ng-show="child.show" ng-change="checkedChild(root,child)">{{child.moduleName}}</md-checkbox>
										</li>
									</ul>
								</td>
							</tr>
							<tr ng-show="flag.show">
								<td>
									<md-button ng-click="save()" style="background-color: #FF9800;color:#FFF;">保存</md-button>
								</td>
								<td>
									<md-button ng-click="reset()" style="background-color: #FF9800;color:#FFF;">重置</md-button>
								</td>
							</tr>
						</table>
					</div>
				</div>
			</md-content>
		</div>
	</div>
</div>